package com.wus.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wus.system.entity.SysUser;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户信息表 Mapper 接口
 * </p>
 *
 * @author wus
 * @since 2024-12-31
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 自定义用户分页查询
     *
     * @param page
     * @param keyword
     * @return
     */
    Page<SysUser> findCustomPage(Page<SysUser> page, @Param("keyword") String keyword);
}
